package interceptTest;


import Controller.InterceptInterface;
import intercept.HandlerExecutionChain;

public class Intercept2 implements InterceptInterface{

    @Override
    public void before() {
        System.out.println("Intercept2拦截器");
    }

    @Override
    public void doFilter(HandlerExecutionChain chain) {
        chain.handler();
    }

    @Override
    public void after() {
        System.out.println("Intercept2正在销毁");
    }
}
